package com.flaremars.picker.entities;

import com.flaremars.picker.entities.common.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * @author FlareMars on 2016/3/12.
 * 帖子实体类
 */
public class PostItem extends BaseEntity {
    //todo 用户相关信息需要封装

    //帖子服务器id
    private String postId;
    //帖子发布者昵称
    private String username;
    //帖子发布者id
    private String userId;
    //帖子发布者头像
    private String avatar;
    //帖子内容
    private String content;
    //帖子附带的图片
    private List<String> pictures;
    //帖子发布时间
    private Date time;

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<String> getPictures() {
        return pictures;
    }

    public void setPictures(List<String> pictures) {
        this.pictures = pictures;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
